package innerclass.Member;

public class Outer {
    private String name;
    private int age;
    private static String gender;

    public class Inner {
        public void test() {
            Outer.gender="男";
            System.out.println(Outer.gender);
        }
    }

    public static void main(String[] args) {
        Outer outer = new Outer();
        Outer.Inner inner = outer.new Inner();
        inner.test();
    }
}
